package cn.iocoder.yudao.module.project.controller.admin.kisbatchcode.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 批次码新增/修改 Request VO")
@Data
public class KisBatchCodeSaveReqVO {

    @Schema(description = "箱码编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21701")
    private String id;

    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "物料编号不能为空")
    private String materialCode;

    @Schema(description = "供应商编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "27607")
    @NotEmpty(message = "供应商编码不能为空")
    private String supplierId;

    @Schema(description = "批次码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "批次码不能为空")
    private String batchCode;

    @Schema(description = "日期")
    private String dateStr;

}